import request from '@/utils/request'

export function getErrDetail(id) {
  return request({
    url: '/operate/api/logs/error/' + id,
    method: 'get'
  })
}


export function getLogsListPage(params) {
  return request({
    url: '/operate/logs',
    headers: {
      'Content-Type': 'application/json;charset=UTF-8',
      'pageNum': params.pageNum,
      'pageSize': params.pageSize
    },
    method: 'get',
    params: params
  })
}
